package com.shop.shopcommon.enumeration;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
public enum PayStatusType {
    PAY(1,"支付"),
    NOT_PAY(0,"未支付")
    ;
    @EnumValue
    private final Integer code;
    @JsonValue
    private final String desc;

    PayStatusType(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
